package com.bole.feign.reception;


import com.bole.dto.car.TbCarDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "BOLECAR-RECEPTION-SERVICE")
public interface CarFeign {


    @PostMapping("/sellingCars/sellCar")
    void  sellCar(@RequestBody TbCarDto carDo);
}
